bitkeeper revision 1.1159.247.1 (42077fc2VzXadqgxjViiGV6bG9CwbA)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Mon, 7 Feb 2005 14:48:34 +0000 (14:48 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Mon, 7 Feb 2005 14:48:34 +0000 (14:48 +0000)
Don't memcpy the arch specific bit of exec_domain from the idle task's.
This caused the ctxt->pt_base !=0 error when starting new domains.

xen/common/domain.c

index d06ed7c491cf26de17b65a963bed31cbffba6c10..6eee6931d436b1053426d2d876927958b3e654f9 100644 (file)
@@ -45,8 +45,6 @@ struct domain *do_createdomain(domid_t dom_id, unsigned int cpu)
     ed->processor  = cpu;
     d->create_time = NOW();
  
-    memcpy(&ed->arch, &idle0_exec_domain.arch, sizeof(ed->arch));
-
     spin_lock_init(&d->time_lock);
 
     spin_lock_init(&d->big_lock);